{extend name="public/base"/}
{block name="body"}
    <header style="position:relative">
        <div class="bg_top"></div>
        <div class="traval-bgi">
            <img width="100%" src="/static/index/images/b4_ban.jpg" alt="">
        </div>
    </header>  
    <div class="container">
        <div class="row project-li">
            {foreach $scenic_spots as $key=>$value }
                <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 " style="text-align: center;">
                    <img class=" project-img" style="border-radius: 50%;" src="/static/index/images/project01.jpg" alt="">
                    <div class=" project-title">{$value.title}</div>
                    <div class=" project-desc">{$value.address}</div>
                    <a class=" project-more" href="{:url('scenic/scenic_detail')}?id={$value.id}">查看详情</a>
                </div>
            {/foreach}
        </div>
    </div>
{/block}